package yl.hs.bmipfull.service.production;

import com.fasterxml.jackson.core.JsonProcessingException;
import yl.hs.bmipfull.pojo.production.ViolationReportEntity;
import yl.hs.bmipfull.service.IBaseService;
import yl.hs.bmipfull.viewmodels.PageQuery;
import yl.hs.bmipfull.viewmodels.PageResult;
import yl.hs.bmipfull.viewmodels.SubmitModel;

import java.util.Map;

/*
 * IViolationReportService
 * @category
 * @author 谢景广
 * @date 2023-03-23
 */
public interface IViolationReportService extends IBaseService {
    Integer save(SubmitModel model) throws Exception;

    PageResult<ViolationReportEntity> queryPage(PageQuery query, Integer rowNum, Integer page);
}
